package com.yuanfeng.job.feign;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author Stranger
 * @date 2023/5/17 15:43
 */
@FeignClient(name = "mall-base", url = "http://localhost:8011")
public interface BaseServiceClient {


    /**
     * 查询积分规则
     *
     * @return
     */
    @PostMapping("/base/integralRules/queryIntegralRules")
    ResponseResult queryIntegralRules();


    /**
     * 查询微客配置
     * @return
     */
    @GetMapping("baseVkSet/queryGoodsVkSet")
    ResponseResult queryGoodsVkSet();
}
